AppController.rabbit   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
1
import { Controller, Get } from '@nestjs/common';
2
import { AppService } from './app.service';
3
4
@Controller()
5
export class AppController {
6
  constructor(private readonly appService: AppService) {
7
  }
8
9
  @Get('/default')
10
  handleDefaultEvent() {
11
    this.appService.handleDefaultEvent();
12
  }
13
14
  @Get('/rabbit')
15
  rabbit() {
16
    this.appService.rabbitEvent();
17
  }
18
}
19